package controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import pojo.SysUser;

import java.util.ArrayList;
import java.util.Date;

@Controller
@RequestMapping("/user")
public class SysUserController {
    private Logger logger = Logger.getLogger(SysUserController.class);
    private ArrayList<SysUser> sysUserList = new ArrayList<SysUser>();
    public SysUserController(){
        try {
//            sysUserList.add(new SysUser(5,"zhaojing","赵静","55555555555",1,"13011334455","上海市宝山区",1,1,new Date(),1,new Date()));
//            sysUserList.add(new SysUser(5,"zhaojing","赵静","55555555555",1,"13011334455","上海市宝山区",1,1,new Date(),1,new Date()));
//            sysUserList.add(new SysUser(5,"zhaojing","赵静","55555555555",1,"13011334455","上海市宝山区",1,1,new Date(),1,new Date()));
//            sysUserList.add(new SysUser(5,"zhaojing","赵静","55555555555",1,"13011334455","上海市宝山区",1,1,new Date(),1,new Date()));
//            sysUserList.add(new SysUser(5,"zhaojing","赵静","55555555555",1,"13011334455","上海市宝山区",1,1,new Date(),1,new Date()));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
